import { createApp } from 'vue';
import App from './App.vue';
import router, { setupRouterGuards } from './router';
import pinia from './store';

import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';

import '@/styles/global.scss';

const app = createApp(App);

app.use(pinia);
setupRouterGuards();
app.use(router);
app.use(ElementPlus);

app.mount('#app');

